import axios from "../utils/axios";

export default {
  get(id) {
    return axios.get("/api/comment/" + id);
  },

  add(id, comment) {
    return axios.post("/api/comment/" + id, {
      data: {
        comment
      }
    });
  },
  drop(id) {
    return axios.delete("/api/comment/" + id);
  }
};
